import 'package:json_annotation/json_annotation.dart';

part 'dict.g.dart';

@JsonSerializable()
class Dict {
  Dict();

  late String dictValue;
  late String code;
  late num isDeleted;
  List<Dict>? children;
  late bool hasChildren;
  String? remark;
  late String id;
  late num sort;
  late num dictKey;
  late String parentId;
  
  factory Dict.fromJson(Map<String,dynamic> json) => _$DictFromJson(json);
  Map<String, dynamic> toJson() => _$DictToJson(this);
}
